package app.cn.com.school.api.bean.response;

import app.cn.com.school.api.bean.BaseResponse;

/**
 * Created by Administrator on 2017/11/20 0020.
 */

public class LoginResponse extends BaseResponse {


    /**
     * code : 200
     * datas : {"error":"请检查您的用户名或密码是否正确","data":{"username":"13048875254","userid":"4","key":"91021a5ef6d794732bb154937908a5a9"},"member":{"member_name":"13048875254","member_vip":"0","member_id":"4","member_truename":null,"member_sex":null,"available_predeposit":"0.00","member_points":"0"}}
     */

    private int code;
    private DatasBean datas;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DatasBean getDatas() {
        return datas;
    }

    public void setDatas(DatasBean datas) {
        this.datas = datas;
    }

    public static class DatasBean {
        /**
         * error : 请检查您的用户名或密码是否正确
         * data : {"username":"13048875254","userid":"4","key":"91021a5ef6d794732bb154937908a5a9"}
         * member : {"member_name":"13048875254","member_vip":"0","member_id":"4","member_truename":null,"member_sex":null,"available_predeposit":"0.00","member_points":"0"}
         */

        private String error;
        private DataBean data;
        private MemberBean member;

        public String getError() {
            return error;
        }

        public void setError(String error) {
            this.error = error;
        }

        public DataBean getData() {
            return data;
        }

        public void setData(DataBean data) {
            this.data = data;
        }

        public MemberBean getMember() {
            return member;
        }

        public void setMember(MemberBean member) {
            this.member = member;
        }

        public static class DataBean {
            /**
             * username : 13048875254
             * userid : 4
             * key : 91021a5ef6d794732bb154937908a5a9
             */

            private String username;
            private String userid;
            private String key;

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getUserid() {
                return userid;
            }

            public void setUserid(String userid) {
                this.userid = userid;
            }

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }
        }

        public static class MemberBean {
            /**
             * member_name : 13048875254
             * member_vip : 0
             * member_id : 4
             * member_truename : null
             * member_sex : null
             * available_predeposit : 0.00
             * member_points : 0
             */

            private String member_name;
            private String member_vip;
            private String member_id;
            private Object member_truename;
            private Object member_sex;
            private String available_predeposit;
            private String member_points;

            public String getMember_name() {
                return member_name;
            }

            public void setMember_name(String member_name) {
                this.member_name = member_name;
            }

            public String getMember_vip() {
                return member_vip;
            }

            public void setMember_vip(String member_vip) {
                this.member_vip = member_vip;
            }

            public String getMember_id() {
                return member_id;
            }

            public void setMember_id(String member_id) {
                this.member_id = member_id;
            }

            public Object getMember_truename() {
                return member_truename;
            }

            public void setMember_truename(Object member_truename) {
                this.member_truename = member_truename;
            }

            public Object getMember_sex() {
                return member_sex;
            }

            public void setMember_sex(Object member_sex) {
                this.member_sex = member_sex;
            }

            public String getAvailable_predeposit() {
                return available_predeposit;
            }

            public void setAvailable_predeposit(String available_predeposit) {
                this.available_predeposit = available_predeposit;
            }

            public String getMember_points() {
                return member_points;
            }

            public void setMember_points(String member_points) {
                this.member_points = member_points;
            }
        }
    }
}
